﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="IGNtilesDataSet" targetNamespace="http://tempuri.org/IGNtilesDataSet.xsd" xmlns:mstns="http://tempuri.org/IGNtilesDataSet.xsd" xmlns="http://tempuri.org/IGNtilesDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection ConnectionStringObject="Data Source=.\TileDataBase\IGNtiles.sdf" IsAppSettingsProperty="false" Modifier="Assembly" Name="IGNtiles.sdf" ParameterPrefix="@" Provider="Microsoft.SqlServerCe.Client.3.5" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="IGN25TableAdapter" GeneratorDataComponentClassName="IGN25TableAdapter" Name="IGN25" UserDataComponentName="IGN25TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="IGNtiles.sdf" DbObjectName="IGN25" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [IGN25] WHERE (([ID] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [IGN25] ([COORD_X], [COORD_Y], [TILE]) VALUES (@p1, @p2, @p3)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="COORD_X" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="COORD_Y" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="TILE" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT [ID], [COORD_X], [COORD_Y], [TILE] FROM [IGN25]</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [IGN25] SET [COORD_X] = @p1, [COORD_Y] = @p2, [TILE] = @p3 WHERE (([ID] = @p4))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="COORD_X" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="COORD_Y" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="TILE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="COORD_X" DataSetColumn="COORD_X" />
              <Mapping SourceColumn="COORD_Y" DataSetColumn="COORD_Y" />
              <Mapping SourceColumn="TILE" DataSetColumn="TILE" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="IGNtiles.sdf" DbObjectName="IGN25" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByCoord" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByCoord" GeneratorSourceName="FillByCoord" GetMethodModifier="Public" GetMethodName="GetDataByCoord" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByCoord" UserSourceName="FillByCoord">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT     ID, COORD_X, COORD_Y, TILE
FROM         IGN25
WHERE     (COORD_X = @i) AND (COORD_Y = @j)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="i" ColumnName="COORD_X" DataSourceName="IGN25" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@i" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="COORD_X" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="j" ColumnName="COORD_Y" DataSourceName="IGN25" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@j" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="COORD_Y" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="IGNtilesDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="IGNtilesDataSet" msprop:Generator_DataSetName="IGNtilesDataSet" msprop:EnableTableAdapterManager="False">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="IGN25" msprop:Generator_UserTableName="IGN25" msprop:Generator_RowDeletedName="IGN25RowDeleted" msprop:Generator_RowChangedName="IGN25RowChanged" msprop:Generator_RowClassName="IGN25Row" msprop:Generator_RowChangingName="IGN25RowChanging" msprop:Generator_RowEvArgName="IGN25RowChangeEvent" msprop:Generator_RowEvHandlerName="IGN25RowChangeEventHandler" msprop:Generator_TableClassName="IGN25DataTable" msprop:Generator_TableVarName="tableIGN25" msprop:Generator_RowDeletingName="IGN25RowDeleting" msprop:Generator_TablePropName="IGN25">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" />
              <xs:element name="COORD_X" msprop:Generator_UserColumnName="COORD_X" msprop:Generator_ColumnVarNameInTable="columnCOORD_X" msprop:Generator_ColumnPropNameInRow="COORD_X" msprop:Generator_ColumnPropNameInTable="COORD_XColumn" type="xs:int" />
              <xs:element name="COORD_Y" msprop:Generator_UserColumnName="COORD_Y" msprop:Generator_ColumnVarNameInTable="columnCOORD_Y" msprop:Generator_ColumnPropNameInRow="COORD_Y" msprop:Generator_ColumnPropNameInTable="COORD_YColumn" type="xs:int" />
              <xs:element name="TILE" msprop:Generator_UserColumnName="TILE" msprop:Generator_ColumnVarNameInTable="columnTILE" msprop:Generator_ColumnPropNameInRow="TILE" msprop:Generator_ColumnPropNameInTable="TILEColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:IGN25" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
  </xs:element>
</xs:schema>